﻿using Blm.RabbitMQ.Models;
using System;

namespace VisionCloud.Domain.DtoModel.RabbitMq
{
    [RabbitMQOption("push.device.ex", "push.device.rk", null, RabbitMQConnectPoolName.CloudServerHost, StorageWayEm.OnlyStorage)]
    public class MsDevicePushDto
    {
        /// <summary>
        /// 类型：1表示设备状态更改，DeviceId不为null；2表示项目被删除，ProjectId不为null
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 设备Id
        /// </summary>
        public Guid? DeviceId { get; set; }

        /// <summary>
        /// 项目id
        /// </summary>
        public Guid? ProjectId { get; set; }
    }
}
